package com.pllandxzx.service;

import com.pll.dto.ResponseDto;
import com.pll.pojo.Role;
import com.pllandxzx.dto.ResponseDTO;

import java.util.List;

/**
 * @ClassName：RoleService
 * @Author: 阿⭐
 * @Date: 2025/6/10 10:34
 * @Description: TODO
 */
public interface RoleService {
    ResponseDTO getAllRole();

    ResponseDTO addRole(Role role);

    ResponseDTO updateRole(Role role);

    ResponseDTO deleteRole(int roleId);

    ResponseDTO updateRolePermission(int roleId, List<Integer> menuIds);

    ResponseDTO getRoleMenu(long roleId);
}
